package com.example.util;

import java.util.Map;

// 请求体类，用于接收前端的请求数据
public class CreateOrderRequest {
    private Integer buyerId;
    private Map<Integer, Integer> items;
    private Integer adressId;

    // getters and setters
    public Integer getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }

    public Map<Integer, Integer> getItems() {
        return items;
    }

    public void setItems(Map<Integer, Integer> items) {
        this.items = items;
    }

    public Integer getAdressId() {
        return adressId;
    }

    public void setAdressId(Integer adressId) {
        this.adressId = adressId;
    }
}
